home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1796 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.lang.c
  2. Path: newshub.nosc.mil!news!herman
  3. From: herman@nosc.mil (John W. Herman)
  4. Subject: Re: Procedure for CRC-16 Value for a given text string
  5. X-Nntp-Posting-Host: marlin.nosc.mil
  6. Message-ID: <1996Jan13.010810.23158@nosc.mil>
  7. Sender: news@nosc.mil
  8. Organization: NCCOSC RDT&E Division, San Diego, CA
  9. References: <30f486cf.64849689@news.alt.net> <4d21np$374@crl4.crl.com>
  10. Date: Sat, 13 Jan 1996 01:08:10 GMT
  11.  
  12. kossick@crl.com (Paul J. Kossick) writes:
  13.  
  14. >JC (jcharper@alt.net) wrote:
  15.  
  16. >: To anyone with some knowledge of C - programming language. I need a
  17. >: procedure that will compute a CRC-16 value for a given text string.
  18. >: This should receive a text string as input and produce a two byte CRC
  19. >: value as output. The output has to be two data bytes. The carriage
  20. >: return byte is not to be included in the CRC computations. This should
  21. >: be able to read text strings from the terminal, call the procedure,
  22. >: and then print the string and the appropriate CRC value. The output
  23. >: will be the text string that was input and the corresponding CRC
  24. >: value. Then, the CRC value should be converted into a 4 digit Hex
  25. >: value. Any suggestions ???
  26.  
  27. >: Please help !!
  28.  
  29. >Why am I tempted to quote my consulting rates here?
  30.  
  31. Do you consult on homework?  If you do, you might make some bucks with
  32. this one.  He sounds desperate.
  33.